﻿#pragma once
#include "location.h"
#include <string>
#include <fstream>
using namespace std;
class puzzle:public location
{
private:
	string question;
	string answer;
	int life; // số lần trả lời sai (2 lần)
public:
	puzzle(void);
	void input(ifstream &fi);
	puzzle(string question, string answer, bool isStar);
	bool runEvent();
};

